package com.xcdh.domain.vo;

import lombok.Data;

@Data
public class UserVo {
    private Long userId;
    //用户名
    private String username;

    //简介
    private String phone;
    //头像
    private String avatar;
    //部门ID
    private Long deptId;

    private String token ;

    public boolean isAdmin(){
        return "admin".equals(username) ;
    }
}
